<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'addSchedule.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<script type="text/javascript">
    function showTime(){ 
        var now=new Date; 
        document.getElementById("dd").innerHTML=now.getFullYear() 
        +"年"+(now.getMonth()+1) 
        +"月"+now.getDate() 
        +"日"+now.getHours() 
        +":"+now.getMinutes()+":"+now.getSeconds(); 
        setTimeout("showTime()","1000"); 
    } 
</script>
</head>
<body onload="showTime()">
	<center>
		<s:form namespace="/control/schedule" action="addSchedule" >
			<table border="0">
				<tr>
					<td colspan="3" align="left">主题：<input name="schedule.title" /></td>
				</tr>
				<tr>
					<td colspan="2" align="left">地点： <input name="address" /></td>
					<td width="291" align="left">会议类型：
						<select name="meetingType">
								<option value="0">公司会议</option>
								<option value="1">机构会议</option>
								<option value="2">部门会议</option>
						</select>
					</td>
				</tr>
				<tr>
					<td colspan="3" align="left">开始时间：---- <input type="text"
						name="beginTime" size="20" />
					</td>
				</tr>
				<tr>
					<td colspan="3" align="left">结束时间：---- <input type="text"
						name="endTime" size="20" />
					</td>
				</tr>
				<tr>
					<td colspan="3" align="left">
						<s:textarea name="content" cols="90" rows="15"></s:textarea>		
					</td>
				</tr>				
				<tr>
					<td>选项： <input type="checkbox" name="schedule.ifPrivate" /> 是否公开</td>
					<td width="231">创建者：<s:property value="#session.user.userName" /></td>
					<td>创建日期：<label id="dd"></label></td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit" value="保存退出" />&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="button" value="删除" />&nbsp;&nbsp;&nbsp;&nbsp; <input
						type="button" value="退出" /></td>
					<td><br><br></td>
				</tr>
			</table>
		</s:form>
	</center>
</body>
</html>
